import threading


class ReceiveTask(threading.Thread):
    def __init__(self, clientsocket, addr):
        threading.Thread.__init__(self)
        self.clientsocket=clientsocket
        self.addr=addr
    def run(self):
        self.clientsocket.recv(1024)